<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>东莞新华投票系统v1.0</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script src="js/jquery.js" type="text/javascript"></script>
<script src="js/DatePicker.js" type="text/javascript"></script>
<script src="js/checkinput.js" type="text/javascript"></script>
<script src="js/ajaxfileupload.js" type="text/javascript"></script>

</head>
<body id="create-vote">
	<?php
		if(!isset($_COOKIE['islogin']) || $_COOKIE['islogin']!=1){
        echo "<script>window.location.href='login.php';</script>";
    	}
  if($_COOKIE['permission']!=1){
      echo "<script>alert('抱歉，你的权限不足。');window.location.href='index.php';</script>";
  }

    	require('config.php')
	?>
	<div id="nav">
		<div id="nav_top">
			<div class="width navs">
					<div class="logo">
						<a href="index.php" target="ifm"><img src="images/logo.png" width="290" height="54" /></a>
					</div>
					<div class="clear"></div>
			</div>
		</div>
		<div id="header">
			<div class="width">
				<div style="background: url(images/gx.gif) no-repeat; height: 48px;">
					<span style="float: right; font-size: 12px;">欢迎您：<?php echo $_COOKIE["username"];?>---<a href="login.php?action=logout">退出</a></span>
					<div id="top-nav">
					<a id="1" href="index.php">首页</a> 
					<a id="2" href="my-vote.php" >我的投票</a> 
					<a id="3" href="create-vote.php" class="curr" >创建投票</a> 
					<a id="4" href="manager-vote.php">管理投票</a> 
					</div>
				</div>
			</div>
		</div>
	</div>
	<!--详细内容模块start-->
	<div id="content">
		<div id="main-content">
        <h3>请选择投票的类型</h3>
        <table>
            <tr>
                <th width="50">序号</th><th width="600">投票类型</th>
            </tr>
            <tr>
                <td>1</td><td><a href="vote-type1.php">卡片式图文类型投票（要求图片大小为150X150像素）</a></td>
            </tr>
            <tr>
                <td>2</td><td><a href="vote-type2.php">选题式纯文字类型投票（单选或多选）</a></td>
            </tr>
        </table>
    </div>
	</div>
	
	<!--详细内容模块end-->
	<div id="footer" class="clear">
		<div
			style="background: url(images/gx_footer.gif) no-repeat; width: auto; height: 118px; padding: 20px 0 0 0;">
			<div class="width">
				<div style="text-align: center; font-size: 14px;">
					<a href="http://10.44.152.49">东莞新华导航页</a> <a
						href="http://10.44.152.252./purchase" class="a1" target="ifm">采购立项签报系统</a> <a
						href="http://10.44.152.166:8080/che/">用车管理系统</a> <a href="http://10.44.152.166:8080/caigou/"
						>采购随机筛选系统</a>
				</div>
				<div style="margin: 15px 0 0 0; font-size: 11px; text-align: center;">新华人寿保险股份有限公司东莞中心支公司
					版权所有 东莞新华办公室
        </div>
			</div>
		</div>
	</div>
</body>
</html>